import { BrowserRouter as Router, Route } from "react-router-dom";
import "./APP.scss";
import Head from "./common/Header";
import Foot from "./common/Footer";
const App = () => {
  return (
    <>
      <Router>
        <Route
          exact
          path="/"
          component={require("./view/Home/Home").default}
        ></Route>
        <Route
          path="/shangjia"
          component={require("./view/Shangjia/Shangjia").default}
        ></Route>
        <Route
          path="/campus"
          component={require("./view/mjy/index").default}
        ></Route>
        <Route
          path="/help"
          component={require("./view/skx/Help").default}
        ></Route>
        <Route
          path="/share"
          component={require("./view/skx/Share").default}
        ></Route>
      </Router>
    </>
  );
};
export default App;
